/*              PUTCHAR.C

   The ANSI "putchar" function.

   The putchar function writes the character c to the
   output-stream pointed to by stream.
   The function returns the character written. If an writing
   error  occurs the putchar shall return EOF.

   $Revision: 2093 $

   Copyright 1986 - 1999 IAR Systems. All rights reserved.
*/


#include <stdio.h>
#include "USART2.h"
int putchar(int ch)
{
  USART_Transmit(ch);
  return ch;
}
